package deng.pojo;

import java.io.File;


public class GroovyFilePollerAction extends SingleScriptGroovyEngine implements FilePollerAction {
	@Override
	public void onFile(File file) {
		logger.debug("Received file: " + file);
		groovyVariables.setVariable("file", file);
		runGroovyScript();
	}	
}